package com.supermarket.entity;
import java.util.Date;
public class CommodityEntity {
    private Long id;
    private String name;
    private Long number;
    private Long enterprice;
    private Long sales;
    private String productiondate;
    private Long guaranteeperiod;
    private String supplier;
    private String createtime;
    public String toString() {
        return "CommodityEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", number=" + number +
                ", enterPrice=" + enterprice +
                ", sales=" + sales +
                ", productionDate=" + productiondate +
                ", guaranteePeriod=" + guaranteeperiod +
                ", supplier='" + supplier + '\'' +
                ", createTime=" + createtime +
                '}';
    }
    public CommodityEntity(Long id, String name, Long number, Long enter_price, Long sales, String production_data, Long guarantee_period, String supplier, String create_time) {
        this.id = id;
        this.name = name;
        this.number = number;
        this.enterprice = enter_price;
        this.sales = sales;
        this.productiondate = production_data;
        this.guaranteeperiod = guarantee_period;
        this.supplier = supplier;
        this.createtime = create_time;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getEnter_price() {
        return enterprice;
    }

    public void setEnter_price(Long enter_price) {
        this.enterprice = enter_price;
    }

    public Long getSales() {
        return sales;
    }

    public void setSales(Long sales) {
        this.sales = sales;
    }

    public String getProduction_data() {
        return productiondate;
    }

    public void setProduction_data(String production_data) {
        this.productiondate = production_data;
    }

    public Long getGuarantee_period() {
        return guaranteeperiod;
    }

    public void setGuarantee_period(Long guarantee_period) {
        this.guaranteeperiod = guarantee_period;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getCreate_time() {
        return createtime;
    }
    public void setCreate_time(String create_time) {
        this.createtime = create_time;
    }
}
